﻿using System;
using Dxr.Police.IACS.Models;
using Dxr.Police.Models;

namespace Dxr.Police.IACS.FullText
{
    public class SHZY_YLWSJS_YLFNJXSRSource : DataSourceBase<SHZY_YLWSJS_YLFNJXSR>
    {
        protected override void OnInserting(SHZY_YLWSJS_YLFNJXSR model, UserInfo user)
        {
            base.OnInserting(model, user);

            model.CREATE_BY = user.Id;
            model.CREATE_DATE = DateTime.Now;
        }
    }

    public class SHZY_YLWSJS_YLFNJXSR : ISourceModel
    {
        [Source("主键", Key = true, Skip = true)]
        public int ID { get; set; }


        public string XXLB { get; set; }


        [Source("女方姓名", Show = true, ShowIndex = 0, Condition = true)]
        public string XM { get; set; }


        [Source("女方证件号", Show = true, ShowIndex = 1, Condition = true)]
        public string ZJHM { get; set; }


        public string CSNY { get; set; }


        public string GZDW { get; set; }


        public string HJD { get; set; }


        public string HYZK { get; set; }


        [Source("丈夫姓名", Show = true, ShowIndex = 1, Condition = true)]
        public string ZFXM { get; set; }


        [Source("丈夫证件号", Show = true, ShowIndex = 1, Condition = true)]
        public string ZFZJHM { get; set; }


        public string ZFCSNY { get; set; }


        public string ZFHYZK { get; set; }


        public string JHRQ { get; set; }


        public string XNHS { get; set; }


        public string XNVHS { get; set; }


        public string THCSRQ { get; set; }


        public string MHCSRQ { get; set; }


        public string BYKSRQ { get; set; }


        public string GLDW { get; set; }


        public string ZNHC { get; set; }


        public string ZNXB { get; set; }


        public string ZNCSZCSX { get; set; }


        public string ZNZJHM { get; set; }


        public string ZNCSRQ { get; set; }


        public string ZNHKXZ { get; set; }


        public string QT { get; set; }


        public string BZ { get; set; }


        public string CJDW { get; set; }


        public string CJSJ { get; set; }


        public string SBYF { get; set; }


        public string SSQXDM { get; set; }


        public string ZYSSBM { get; set; }


        public string CJRY { get; set; }


        public string ZYCJSJ { get; set; }


        public string DRSJ { get; set; }


        public string DRRY { get; set; }


        public string DRRLXDH { get; set; }


        public string UPDATE_BY { get; set; }

        public DateTime? UPDATE_DATE { get; set; }


        public string DEL_FLAG { get; set; }


        public string CREATE_BY { get; set; }

        [Source("创建时间", Order = true)]
        public DateTime? CREATE_DATE { get; set; }


        public string REMARKS { get; set; }

        public DataType DataType => DataType.Hospital_Birth;
    }
}
